package com.tledu.production.service.crafts;

import com.tledu.production.mapper.crafts.TechnologyMapper;
import com.tledu.production.model.crafts.TechnologyModel;
import com.tledu.production.model.system.SysUser;

import java.util.List;

public interface ITechnologyService {
    List<TechnologyModel> list();

    //搜索
    List<TechnologyModel> selectByName(String condition, String conditionName);
    //添加工艺
    Integer add(TechnologyModel technologyModel);
    //编辑工艺
    Integer edit(TechnologyModel technologyModel);
    //删除工艺
    Integer deleteByName(String technologyId);
    //批量删除
    Integer[] del(List<String> technologyId);
    //根据Id查询
    TechnologyModel findById(String technologyId);
    //查询名字
    List<TechnologyModel> cloud();
}
